<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>
	会员登录_分类信息网_中国分类信息网
</title><link rel="stylesheet" type="text/css" href="../css/login.css" />
     <script src="../js/jquery-1.4.2.min.js"type="text/javascript"></script>
    <script type="text/javascript">
    $(document).ready(function(){
	$("#usename").focus(function(){ //文本框获得焦点
		if($(this).val()=="用户名/手机号"){$(this).val("")};
		$(this).css("color","#333333");
    }).blur(function(){//文本框失去焦点
		if($(this).val()==""||$(this).val()=="用户名/手机号"){$(this).val("用户名/手机号").css({"color":"#999999"})}
	})
    });
	function checkFroms(){
	    if(checkemail()&&checkPW()){
		 return true;
		} else{
		 return false;
		}
	}

    function checkemail(){
        var eValue= $.trim($("#usename").val());
        if(eValue==""||eValue=="用户名/手机号"){
          alert("登录帐号不能为空");
          $("#usename").focus(); 
			return false;
        }
        else{
		    return true;
		}
    }
    function checkPW(){//密码格式验证
        var pValue=$.trim($("#password").val());
        if(!pValue){
        alert("密码不能为空！"); 
              $("#password").focus(); 
			return false;
        }
        else{
            return true;
        }
    }

    function checkeValue(){
        var eValue= $.trim($("#usename").val());
        if (eValue.length == 0 || eValue == '用户名/手机号') {
            $("#usename").val("用户名/手机号");
        }
    }
</script>
</head>
<body>
<div id="top">
    	<p class="t-left">
        	<img src="../image/lr-logo.gif" width="191" height="67" />
        </p>
        <p class="t-right">
        	<a href="http://www.fenlei168.com">返回首页</a><span class="gap">|</span><a href="/about/help.aspx">帮助中心</a>
        </p>
        <p class="clear"></p>
    </div>
    <p class="clear"></p>
	<div id="main">
    	<div class="login">
    	    
        	<p class="login-t"><span style="width:139px; text-align:center; display:block">用户登录</span></p>
            <div class="lc">
            <form action="<%=request.getContextPath() %>/user/user!login.do" name="login" method="post">
				<table>
				
                	<tr>
                    	<td>用户名：</td><td><input type="text" name="username" id="usename" class="usename" autocomplete="off" onfocus="if(this.value==&quot;用户名/手机号&quot;)this.value=&quot;&quot;;" onblur="checkeValue()" value="用户名/手机号" style="color:#999999"/></td>
                    </tr>
                    <tr>
                    	 <td>密 码：</td><td><input type="password" name="password" id="password" class="usepwd" /></td>
                    </tr>
                    <!--<tr>
                    	 <td></td><td class="c333"><input type="checkbox"  name="checkbox"  value="1" />30天内自动登录（公共场所慎用）</td>
                    </tr>-->
                    <tr>
                    	 <td></td><td><input type="submit"  name="login" class="loginbnt" value="登 录" onclick="return checkFroms();"/><a class="wpwd" href="/ForgetPwd.aspx">忘记密码?</a></td>
                    </tr>
                    <tr>
                    	<td colspan="2"><span class="red" style="float:left">提示:</span><span style="float:left">不是分类168会员？点击这里</span><a class="reg" href="<%=request.getContextPath() %>/user/user!initReg.do">免费注册</a></td>
                    </tr>
                    <tr>
                    	<td colspan="2">
                        如果您是分类168会员可以使用用户名进行登录
                        </td>
                    </tr>
		 <tr>
                    	<td colspan="2">
                     <a href="/loginqqsend.aspx"><img src="../image/qq_login.png"></a>
                        </td>
                    </tr>
                </table></form>

            </div>

        </div>

        <div class="main-r">
        </div>
        <p class="clear"></p>
    </div>
<div id="webfoot">
<div id="footer">
	<a href="/about/help.aspx?action=contact">联系我们</a><a class="del" href="http://user.fenlei168.com/about/help.aspx?action=del-menu">我要删除信息</a><span class="gap">|</span><a href="/about/help.aspx">关于我们</a><span class="gap">|</span><a href="http://user.fenlei168.com">推广服务</a><span class="gap">|</span><a href="/about/help.aspx?action=Advertising">广告合作</a><span class="gap">|</span><a href="/about/help.aspx?action=Statement">公司声明</a>
    <br />CopyRight:2005-2012 &nbsp;&nbsp; <a class="c000 fw" href="http://www.fenlei168.com">fenlei168.<span class="red">com</span></a> &nbsp;&nbsp; 京ICP备09011340号 &nbsp;&nbsp; 京ICP050800号<script src=\"http://s70.cnzz.com/stat.php?id=1827346&web_id=1827346\" language=\"JavaScript\" charset=\"gb2312\"/></script>
	<br />
</div></div>
</body>
</html>